package main

import (
	"github.com/kevinlisr/install-levault/cmd"
	"github.com/kevinlisr/install-levault/utils"
	"github.com/kevinlisr/install-levault/vari"
)

func main() {
	// 初始化全局日志
	utils.LoadGlobalLogger()

	vari.Logger.Info("Init Minio Client Success !")

	// 执行一级命令
	if err := cmd.RootCmd.Execute(); err != nil {
		vari.Logger.Error("Root Cmd exec failed, " + err.Error())
	}
}
